#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CNAVIGATORPANELUI_NAVIGATORPANELUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CNAVIGATORPANELUI_NAVIGATORPANELUI_H

#include "VerticalLayoutUI.h"
#include "IList.h"

class CNavigatorPanelUI: public CVerticalLayoutUI, public IListOwnerUI
{
public:
	CNavigatorPanelUI(void);
	virtual ~CNavigatorPanelUI(void);

	LPCTSTR GetClass() const;   
	LPVOID GetInterface(LPCTSTR pstrName);

	bool Add(CControlUI* pControl);

	int GetCurSel() const;
	bool SelectItem(int iIndex);

	void Event(TEventUI& event);

	SIZE EstimateSize(SIZE szAvailable);
	void DoPaint(HDC hDC, const RECT& rcPaint);

protected:
	int m_iCurSel;
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CNAVIGATORPANELUI_NAVIGATORPANELUI_H
